package com.pe1n.yangtaopai.page.detail.modle;


import com.pe1n.yangtaopai.bean.DetailBean;
import com.pe1n.yangtaopai.bean.InnerTypeBean;
import com.pe1n.yangtaopai.helper.InitRetrofitHelper;
import com.pe1n.yangtaopai.retrofitApi.RetrofitApi;
import rx.Observable;

/**
 * Created by Pe1n on 2016/11/24.
 */

public class ModleImpl implements IModle {

    private RetrofitApi retrofitApi = InitRetrofitHelper.getRetrofitInterfance();

    @Override
    public Observable<DetailBean> getDetailBean(String url) {
        return retrofitApi.getDetailBean(url);
    }
}
